package com.whfc.mach.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.whfc.common.validator.FieldScope;
import com.whfc.common.validator.FieldScopeType;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author sun_guodong
 * @description 标定设备加油量参数
 * @date 2020-12-22
 */
@Data
public class MachSetOilAddParam implements Serializable {

    @NotNull
    private Integer machId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @NotNull
    private Date date;

    private List<MachOilAdd> oilAddList;
}
